*::after,
*::before {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  height: 300vh;
  background: #262626;
}

section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
}

section .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./bg.jpg);
  background-size: cover;
}

section .slide#slide1 {
  clip-path: polygon(0 0, 100% 0, 100% 50%, 0 50%);
}

section .slide#slide2 {
  clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%);
}

h2 {
  position: absolute;
  color: #fff;
  font-size: 2em;
}
